﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Surpass.Repository.Migrations
{
    public partial class adddept : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "SysDept",
                columns: table => new
                {
                    DId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                    DeptHead = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                    ParentId = table.Column<int>(type: "int", nullable: false),
                    Deleted = table.Column<bool>(type: "bit", nullable: false),
                    CreatedTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    CreatedBy = table.Column<long>(type: "bigint", nullable: false),
                    UpdatedTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    UpdatedBy = table.Column<long>(type: "bigint", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SysDept", x => x.DId);
                });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1538), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1537) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1547), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1545) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1549), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1548) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1543), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1542) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1541), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1540) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1552), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1550) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1554), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1553) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1557), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1556) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1497), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(42) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1536), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1534) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1559), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1558) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1521), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1518) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1524), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1523) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1562), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1560) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1565), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1563) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1568), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1567) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1527), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1526) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1571), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1569) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1573), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1572) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1576), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1574) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1578), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1577) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1530), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1528) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1581), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1579) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1583), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(1582) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 334, DateTimeKind.Local).AddTicks(7373), new DateTime(2021, 11, 2, 15, 51, 52, 334, DateTimeKind.Local).AddTicks(6692) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5584), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5583) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5592), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5591) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5595), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5594) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5589), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5588) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5586), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5585) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5598), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5597) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5601), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5600) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5604), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5603) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5358), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(4547) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5581), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5580) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5607), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5605) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5569), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5565) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5571), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5570) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5610), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5608) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5613), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5611) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5616), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5615) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5574), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5573) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5619), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5618) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5622), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5621) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5625), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5623) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5627), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5626) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5576), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5575) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5630), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5629) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5632), new DateTime(2021, 11, 2, 15, 51, 52, 336, DateTimeKind.Local).AddTicks(5631) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 333, DateTimeKind.Local).AddTicks(5368), new DateTime(2021, 11, 2, 15, 51, 52, 333, DateTimeKind.Local).AddTicks(5600) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 2, 15, 51, 52, 334, DateTimeKind.Local).AddTicks(9420), new DateTime(2021, 11, 2, 15, 51, 52, 334, DateTimeKind.Local).AddTicks(9016) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "SysDept");

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6770), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6767) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6788), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6785) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6793), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6790) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6781), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6778) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6776), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6773) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6799), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6796) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6804), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6801) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6809), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6806) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6693), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(2919) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6765), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6762) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6814), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6811) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6737), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6732) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6744), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6740) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6820), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6817) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6825), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6822) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6831), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6829) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6749), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6746) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6837), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6834) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6842), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6839) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6847), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6844) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6853), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6850) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6754), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6752) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6858), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6855) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6943), new DateTime(2021, 8, 3, 10, 33, 19, 27, DateTimeKind.Local).AddTicks(6940) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 24, DateTimeKind.Local).AddTicks(7099), new DateTime(2021, 8, 3, 10, 33, 19, 24, DateTimeKind.Local).AddTicks(5686) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5445), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5443) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5460), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5457) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5464), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5462) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5453), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5451) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5449), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5447) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5469), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5466) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5473), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5471) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5478), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5475) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5021), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(2923) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5440), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5438) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5482), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5480) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5417), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5410) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5423), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5421) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5487), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5484) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5491), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5489) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5496), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5494) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5428), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5426) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5500), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5498) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5504), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5502) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5509), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5507) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5513), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5511) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5433), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5431) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5517), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5515) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5522), new DateTime(2021, 8, 3, 10, 33, 19, 28, DateTimeKind.Local).AddTicks(5520) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 22, DateTimeKind.Local).AddTicks(6487), new DateTime(2021, 8, 3, 10, 33, 19, 22, DateTimeKind.Local).AddTicks(6887) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 8, 3, 10, 33, 19, 25, DateTimeKind.Local).AddTicks(1004), new DateTime(2021, 8, 3, 10, 33, 19, 25, DateTimeKind.Local).AddTicks(185) });
        }
    }
}
